<?php $form=$this->beginWidget('bootstrap.widgets.TbActiveForm',array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

		

	<?php
        echo  '';
                    //Warning: change relationAttributeName4 if exist
                    $dataGudang = Gudang::model()->findAll(array('order' => 'gate'));
		    $listGudang = CHtml::listData($dataGudang,'id', 'gate');
		    echo $form->select2Row($model, 'ref_gudang_id', array(
			   'data' => $listGudang,

			))
			; ?>

	<?php echo $form->toggleButtonRow($model,'statusMobil'); ?>

	<div class="form-actions">
		<?php $this->widget('bootstrap.widgets.TbButton', array(
			'buttonType' => 'submit',
			'type'=>'primary',
			'label'=>'Search',
		)); ?>
	</div>

<?php $this->endWidget(); ?>
